require 'minitest/autorun'
require 'ruby_emoji'

class RubyEmojiTest < Minitest::Test
  def test_emoji_parse
    output = RubyEmoji.parse(":grin: :green_heart: :smile: Wow awesome!")
    assert_equal "😁 💚 😄 Wow awesome!", output
  end

  def test_emoji_string
    assert_equal "😂 lol", ":joy: lol".emoji
  end
end
